package com.wechat.scheme.repo;

import com.wechat.scheme.entity.SchemeUser;
import com.wechat.scheme.repo.base.SoftDeletableRepo;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;


public interface SchemeUserRepo extends SoftDeletableRepo<SchemeUser, String>,JpaSpecificationExecutor<SchemeUser> {

    SchemeUser findByUsernameAndPassword(String name,String pwd);
    SchemeUser findUserByUsername(String name);

}
